package com.wyg.study.layui.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @author yg.wang
 * @description:
 * @date 2019/7/25 16:39
 */
@Controller
@RequestMapping("/")
@ComponentScan(basePackages = "com.wyg.study.*")
@EnableAutoConfiguration
public class Test {

    @RequestMapping("")
    public String now() {
        return "index";
    }

    public static void main(String[] args) {

        SpringApplication.run(Test.class, args);
    }

}
